<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: Basic::Position Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_basic.html">Basic</a>      </li>
      <li class="navelem"><a class="el" href="class_basic_1_1_position.html">Position</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Basic::Position Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Basic::Position" -->
<p><code>#include &lt;<a class="el" href="_position_8h_source.html">Position.h</a>&gt;</code></p>

<p><a href="class_basic_1_1_position-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a127ff3d0a4ba30a1fa6342c86c319212">Position</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a4f44f7d70a87ca6b718d89cabb1cfe56">Position</a> (double <a class="el" href="class_basic_1_1_position.html#acf7520d40b7a067e36dff0663903d122">x</a>, double <a class="el" href="class_basic_1_1_position.html#af82aa750d8f6f3c2c8b90b5b299b4d40">y</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#ac5854747a334e263a943e9531d36baea">~Position</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#acf7520d40b7a067e36dff0663903d122">x</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#af82aa750d8f6f3c2c8b90b5b299b4d40">y</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a31a9dbb2158bec0e7b3c51d6c00effc8">x</a> (double x_arg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a97569d5ba867724e82ce39cc2e5358e7">y</a> (double y_arg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#afe01f5a63a7cd0d4af4180b30d57588a">xy</a> (double <a class="el" href="class_basic_1_1_position.html#acf7520d40b7a067e36dff0663903d122">x</a>, double <a class="el" href="class_basic_1_1_position.html#af82aa750d8f6f3c2c8b90b5b299b4d40">y</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a06b31cd86861f9f3a15d8d6d3c844385">arg</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#aa9b5b0e9b35feb76399d3c2cfc609d74">abs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_basic_1_1_position.html">Position</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a6004db73e0d762f72a911a17eaf8ef20">operator+</a> (<a class="el" href="class_basic_1_1_position.html">Position</a> p) const </td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">complex&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#ae865e460abf4c8c0b61c2245f856a55f">position_</a></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_basic_1_1_position.html#a14d89ec2c15e82ce10902fcd138637f4">operator&lt;&lt;</a> (std::ostream &amp;os, <a class="el" href="class_basic_1_1_position.html">Position</a> p)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_basic_1_1_position.html">Position</a> Class. Detailed description. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a127ff3d0a4ba30a1fa6342c86c319212"></a><!-- doxytag: member="Basic::Position::Position" ref="a127ff3d0a4ba30a1fa6342c86c319212" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_basic_1_1_position.html#a127ff3d0a4ba30a1fa6342c86c319212">Basic::Position::Position</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor. Initializes position_ with (0,0) arguments. </p>

</div>
</div>
<a class="anchor" id="a4f44f7d70a87ca6b718d89cabb1cfe56"></a><!-- doxytag: member="Basic::Position::Position" ref="a4f44f7d70a87ca6b718d89cabb1cfe56" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_basic_1_1_position.html#a127ff3d0a4ba30a1fa6342c86c319212">Basic::Position::Position</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Real part of position_. </td></tr>
    <tr><td class="paramname">y</td><td>Imag part of position_. Initializes position_ with (x,y) arguments. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac5854747a334e263a943e9531d36baea"></a><!-- doxytag: member="Basic::Position::~Position" ref="ac5854747a334e263a943e9531d36baea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_basic_1_1_position.html#ac5854747a334e263a943e9531d36baea">Basic::Position::~Position</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Left empty. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa9b5b0e9b35feb76399d3c2cfc609d74"></a><!-- doxytag: member="Basic::Position::abs" ref="aa9b5b0e9b35feb76399d3c2cfc609d74" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_basic_1_1_position.html#aa9b5b0e9b35feb76399d3c2cfc609d74">Basic::Position::abs</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The absolute value of position_. </dd></dl>

</div>
</div>
<a class="anchor" id="a06b31cd86861f9f3a15d8d6d3c844385"></a><!-- doxytag: member="Basic::Position::arg" ref="a06b31cd86861f9f3a15d8d6d3c844385" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_basic_1_1_position.html#a06b31cd86861f9f3a15d8d6d3c844385">Basic::Position::arg</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The argument value of position_. </dd></dl>

</div>
</div>
<a class="anchor" id="a6004db73e0d762f72a911a17eaf8ef20"></a><!-- doxytag: member="Basic::Position::operator+" ref="a6004db73e0d762f72a911a17eaf8ef20" args="(Position p) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_basic_1_1_position.html">Basic::Position</a> Basic::Position::operator+ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_basic_1_1_position.html">Position</a>&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operator. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Sum of two Timestamps. </dd></dl>

</div>
</div>
<a class="anchor" id="acf7520d40b7a067e36dff0663903d122"></a><!-- doxytag: member="Basic::Position::x" ref="acf7520d40b7a067e36dff0663903d122" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_basic_1_1_position.html#acf7520d40b7a067e36dff0663903d122">Basic::Position::x</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Real value of position_. </dd></dl>

</div>
</div>
<a class="anchor" id="a31a9dbb2158bec0e7b3c51d6c00effc8"></a><!-- doxytag: member="Basic::Position::x" ref="a31a9dbb2158bec0e7b3c51d6c00effc8" args="(double x_arg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_basic_1_1_position.html#acf7520d40b7a067e36dff0663903d122">Basic::Position::x</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface Sets x_arg as the new value of real part of position_. </p>

</div>
</div>
<a class="anchor" id="afe01f5a63a7cd0d4af4180b30d57588a"></a><!-- doxytag: member="Basic::Position::xy" ref="afe01f5a63a7cd0d4af4180b30d57588a" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_basic_1_1_position.html#afe01f5a63a7cd0d4af4180b30d57588a">Basic::Position::xy</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Real part of position_. </td></tr>
    <tr><td class="paramname">y</td><td>Imag part of position_. Sets new values to real part and imag part of position_. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af82aa750d8f6f3c2c8b90b5b299b4d40"></a><!-- doxytag: member="Basic::Position::y" ref="af82aa750d8f6f3c2c8b90b5b299b4d40" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_basic_1_1_position.html#af82aa750d8f6f3c2c8b90b5b299b4d40">Basic::Position::y</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Complex value of position_. </dd></dl>

</div>
</div>
<a class="anchor" id="a97569d5ba867724e82ce39cc2e5358e7"></a><!-- doxytag: member="Basic::Position::y" ref="a97569d5ba867724e82ce39cc2e5358e7" args="(double y_arg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_basic_1_1_position.html#af82aa750d8f6f3c2c8b90b5b299b4d40">Basic::Position::y</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y_arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface Sets y_arg as the new value of imag part of position_. </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a14d89ec2c15e82ce10902fcd138637f4"></a><!-- doxytag: member="Basic::Position::operator&lt;&lt;" ref="a14d89ec2c15e82ce10902fcd138637f4" args="(std::ostream &amp;os, Position p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_basic_1_1_position.html">Position</a>&#160;</td>
          <td class="paramname"><em>p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operator. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Stream for Timestamp class. </dd></dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ae865e460abf4c8c0b61c2245f856a55f"></a><!-- doxytag: member="Basic::Position::position_" ref="ae865e460abf4c8c0b61c2245f856a55f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">complex&lt;double&gt; <a class="el" href="class_basic_1_1_position.html#ae865e460abf4c8c0b61c2245f856a55f">Basic::Position::position_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Saves the value of each entity positioned in the space of the simulation. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Basic/<a class="el" href="_position_8h_source.html">Position.h</a></li>
<li>Basic/<a class="el" href="_position_8cpp.html">Position.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:35 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
